Operating Systems: i5/OS
Personalize the table of contents and search results
Create shared libraries
Shared libraries are files used by multiple applications. Create
a shared library to reduce the number of duplicate library files on your system.
Overview
The first step for making a library file available to multiple applications
deployed on a server is to create a shared library for each library file that
your applications need. When you create the shared libraries, set variables
for the library files.
Use the Shared Libraries page to create and configure
shared libraries.
Procedure
- Go to the Shared
Libraries page.
Click Environment > Shared Libraries in
the console navigation tree.
- Change the scope of the collection table to see what shared libraries
are in a particular cell, node or server.
- Select a cell, node, or server.
On a V6.1.0.11 and later multiple-server
product, you also can select a cluster.
- Click Apply.
- Click New.
- Configure the shared library.
- On the settings
page for a shared library, specify the name, class path, and any other
variables for the library file that are needed.
If the shared
library specifies a native library path, refer to Configuring native libraries in shared libraries.
- Click Apply.
- Repeat steps 1 through 4 until you define a shared library instance
for each library file that your applications need.
What to do next
Using the administrative console, associate your shared libraries with specific applications or modules or with the class loader of an application server. Associating a shared library file with a server class loader associates the file with all applications on the server.
Alternatively,
you can use an installed
optional package to associate your shared libraries with an application.
}
Configuring native libraries in shared libraries
Related concepts
Installed optional packages
Related tasks
Managing shared libraries
Using installed optional packages
Related Reference
Shared library collection
|